bitkeeper revision 1.267 (3f055690tIQNHMSBFNHUQFfgq_2xeg)
authorrac61@labyrinth.cl.cam.ac.uk <rac61@labyrinth.cl.cam.ac.uk>
Fri, 4 Jul 2003 10:27:28 +0000 (10:27 +0000)
committerrac61@labyrinth.cl.cam.ac.uk <rac61@labyrinth.cl.cam.ac.uk>
Fri, 4 Jul 2003 10:27:28 +0000 (10:27 +0000)
Change xi_phys_probe output format to make it easier to parse.

tools/internal/xi_phys_probe.c

index f962ce551e0bf3dc4f7bd722b8826e3fee8997a0..1c64980cfa62b94da813bf5595892f2c63c5ad7e 100644 (file)
@@ -35,9 +35,9 @@ int main(int argc, char *argv[])
       break;
 
     for (x = 0; x < buf.n_aces; x++) {
-      printf("%x:[%x,%x) : %x\n", buf.entries[x].device,
+      printf("%x %x %x %x\n", buf.entries[x].device,
             buf.entries[x].start_sect,
-            buf.entries[x].start_sect  + buf.entries[x].n_sectors,
+            buf.entries[x].n_sectors,
             buf.entries[x].mode);
     }
     buf.start_ind += buf.n_aces;